<div id="footer">
	<div class="bottom">

		<div class="flickr">
		<h4>Portfolio</h4>
			<ul>
<?php
$Data=$this->PortfolioFooter;
//Zend_Debug::dump($Data);exit();
foreach ($Data as $row) {?>
				<li><a href="/default/portfolio/"><img src="<?php echo $row['logo'] ?>" width="60" height="60" alt="" /></a></li>
<?php }; ?>
                        </ul><!--ENDS ul-->
		</div><!--END flickr-->
		<div>
		<h4>Latest news</h4>
		<ul class="posts">
<?php
$news = $this->NewsFooter;
$News=$this->NewsFooter;
foreach ($News as $row) {
$date = new Zend_Date($row['date'], 'yyyy-MM-dd', 'en_US');
?>
			<li>
			<h1><?php echo substr($date, 0,3);?></h1>
			<div class="listing">
			<p><?php echo substr($date, 0,12);?></p>
			<a href="/default/news/<?php // echo $row['link'];?>"><?php echo substr($row['long_text'], 0,35).'...';?></a>
			</div>
			</li>
<?php }; ?>

                        </ul>
		</div><!--END div-->


		<div>

	  	<ul>
			<li><h4><?php echo $this->AdressFoot;?></h4></li>
<?php
$Data=$this->Adressess;
foreach ($Data as $row) {?>
                        <li><?php echo $row['title']?></li>
<?php }; ?>
			<li class="divider"></li>
			<li><h4><?php echo $this->PhonesFoot;?></h4></li>
<?php
$Data=$this->Phones;
foreach ($Data as $row) {?>
                        <li><?php echo $row['title']?></li>
<?php }; ?>
			<li class="divider"></li>
			<li><h4><?php echo $this->URLSFoot;?></h4></li>
<?php
$Data=$this->Links;
foreach ($Data as $row) {?>
                        <li><?php echo $row['title'].' ';?><a href="<?php echo 'mailto:'.$row['mail']?>"><?php echo '  '.$row['mail']?></a></li>
<?php }; ?>
		</ul>
		</div>
		</div><!--END div-->
	</div><!--END bottom-->


<div class="footer">
	<div class="copyright">
		<ul>
            <?php foreach ($this->UserMenu as $MenuRow) {?>
                <li><a href="<?php echo $MenuRow['link']?>"><?php echo $MenuRow['name']?></a></li>
            <?php } ?>
		</ul>
	<p><?php echo $this->CopyRight ?></p>
	</div><!--END copyright-->

</div><!--END footer-->